$(function() {
	$("a[rel]").overlay();
	$( '#accordion' ).accordion({ 
		header: "h4",
		event: 'mouseover',
		active: false
	});
	$( '#datepicker' ).datepicker({
		dateFormat: 'dd-mm-yy'
	});
	$( '#datepicker2' ).datepicker({
		dateFormat: 'dd-mm-yy'
	});
	$("#addarticle").validate();
});